package com.shop.service;

import com.shop.pojo.GoodsOrderInfo;
import com.shop.result.JsonResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GoodsOrderInfoService {

    JsonResult addUserOrderInfo(HttpServletRequest request, HttpServletResponse response)throws Exception;

    JsonResult updateUserOrderStatus(HttpServletRequest request, HttpServletResponse response)throws Exception;

    JsonResult deleteUserOrderById(HttpServletRequest request, HttpServletResponse response)throws Exception;

    List<GoodsOrderInfo> queryUserOrderByCondition(HttpServletRequest request, HttpServletResponse response)throws Exception;
}
